#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>

int judge(int i)
{
	int j = 0;
	for (j = 2; j * j < i; j++)
	{
		if (i % j == 0)
		{
			return 0;
		}
	}
	return 1;
}

int main()
{
	int i = 0, j = 0;
	for (i = 100; i < 200; i++)
	{
		if (judge(i) == 1)
		{
			printf("%d\n", i);
		}
	}


	return 0;
}